<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>单项数据绑定的基本概念</title>
    <script src="../../../../js/vue.global.js"></script>
    <style>
        .textdecorated {
            text-decoration: underline;
        }

        .colordecorated {
            color: red;
        }
    </style>
</head>
<body>
<div id="app">
    <img src="https://p6.itc.cn/q_70/images03/20210527/f1705bc37ceb4b16bac26bfd3f7eda1f.jpeg" alt="陕交职院">

<!--    <img> {{image_url}}</img>-->

<!--    <img src="{{ image_url }}" alt="陕交职院">-->

    <img v-bind:src="image_url" alt="陕交职院">
</div>

<script>
    const app = Vue.createApp({
        data() {
            return {
                image_url: "https://p6.itc.cn/q_70/images03/20210527/f1705bc37ceb4b16bac26bfd3f7eda1f.jpeg",
            }
        }
    })
    app.mount("#app")
</script>
</body>
</html>